Elementor\Core\Documents_Manager B

Total Complexity 76
Dependencies 8
Dependents 2
Total lines 750
Lines of code 303
Logical lines of code 175
Comment lines 320
Methods 25
Properties 5

Methods 25

Method Rating Maintainability Complexity Lines of code
ajax_save()
A
43 10 48
create()
A
47 7 35
remove_user_edit_cap()
S
53 7 23
get()
S
58 5 16
register_document_type()
S
61 4 13
get_doc_type_by_id()
S
62 4 11
ajax_get_document_config()
S
58 3 16
get_doc_for_frontend()
S
66 3 8
get_document_type()
S
65 3 10
get_with_permissions()
S
64 3 10
get_doc_or_auto_save()
S
69 3 7
get_create_new_post_url()
S
61 2 12
switch_to_document()
S
64 2 11
register_default_types()
S
64 2 10
localize_settings()
S
65 2 9
get_document_types()
S
65 2 9
get_types_properties()
S
68 2 7
filter_post_row_actions()
S
69 2 7
ajax_discard_changes()
S
64 2 10
restore_document()
S
69 2 7
register_types()
S
73 2 5
check_permissions()
S
81 1 3
get_current()
S
82 1 3
register_ajax_actions()
S
72 1 5
__construct()
S
65 1 8